﻿using EPE.DALFactory;
using EPE.IDAL;
using EPE.Model;
using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using System.Text;

namespace EPE.BLL
{
    public class Shops
    {
        private readonly IShops dal = DataAccessFactory.CreateShops();
        public DataSet GetListByPage(string strProjectName, string strBuildName, string strShopsName, string companyid, string orderby, int pageIndex, int dataCount)
        {
            return dal.GetListByPage(strProjectName, strBuildName,strShopsName, companyid, orderby, pageIndex, dataCount);
        }

        public void Insert(CShops model)
        {
            dal.Insert(model);
        }
        public void Update(CShops model)
        {
            dal.Update(model);
        }

        public DataSet GetListByUpdate(string strId)
        {
            return dal.GetListByUpdate(strId);
        }
    }
}
